﻿<Window x:Class="WpfPdfReader.WindowDetail"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="{Binding FullName}" Height="300" Width="300" Background="{StaticResource winBackground}" WindowStyle="ThreeDBorderWindow" WindowStartupLocation="CenterScreen">
    <Grid>
        <StackPanel>
            <StackPanel.Resources>
                <Style TargetType="TextBlock">
                    <Setter Property="FontSize" Value="16"/>
                    <Setter Property="FontFamily" Value="Arial"/>
                    <Setter Property="Background" Value="Green"/>
                    <Setter Property="Foreground" Value="White"/>
                    <Setter Property="Margin" Value="5"/>
                </Style>
            </StackPanel.Resources>
            <StackPanel Orientation="Horizontal" Name="stackPanel" Background="Green">
                <TextBlock Text="时间:"/>
                <TextBlock Text="{Binding Time}"/>
                <TextBlock Text="页码:"/>
                <TextBlock Name="page" Text="{Binding Page}"/>
            </StackPanel>
            <Image Name="image" Stretch="Uniform" RenderOptions.BitmapScalingMode="NearestNeighbor"/>
        </StackPanel>
    </Grid>
</Window>
